import request from '@/utils/request'

//获取首页嘉宾数据
export function getHomeInfo() {
    return request.get({ url: '/Web/getHomeInfo'})
}

//获取嘉宾列表
export function getGuestsList(data:any) {
    return request.get({ url: '/Web/getGuestsList',data})
}

//获取嘉宾详情
export function getGuestsInfo(data:any) {
    return request.get({ url: '/Web/getGuestsInfo',data},{ isAuth: true })
}

//系统字典
export function getDictInfo() {
    return request.get({ url: '/index/getDictInfo'},{ isAuth: true })
}

//首次注册后完善用户信息
export function submitPerfectUserInfo(data:any) {
    return request.post({ url: '/Web/perfectUserInfo',data},{ isAuth: true })
}

//获取个人信息接口
export function getUserInfoApi(data:any) {
    return request.post({ url: '/user/info',data},{ isAuth: true })
}

//获取个人资料
export function updateUserInfoApi(data:any) {
    return request.post({ url: '/Web/updateUserInfo',data},{ isAuth: true })
}

//获取嘉宾动态列表
export function getDynamicListApi(data:any) {
    return request.get({ url: '/Web/getDynamicList',data})
}

//发布动态
export function releaseDynamicApi(data:any) {
    return request.post({ url: '/Web/releaseDynamic',data})
}

//收藏/取消嘉宾
export function userCollectionApi(data:any) {
    return request.post({ url: '/Web/userCollection',data})
}

//获取vip套餐列表
export function getVipPackageListApi(data:any) {
    return request.get({ url: '/Web/getVipPackageList',data})
}

//获取vip套餐列表
export function payVipApi(data:any) {
    return request.post({ url: '/Web/payVip',data})
}

//获取消息组列表
export function getChatGroupListApi(data:any) {
    return request.get({ url: '/Web/getChatGroupList',data})
}

//获取消息列表
export function getChatListApi(data:any) {
    return request.get({ url: '/Web/getChatList',data})
}

//获取消息列表
export function getUserGroupInfoApi(data:any) {
    return request.get({ url: '/Web/getUserGroupInfo',data})
}

//获取红娘个人中心
export function getDisInfoApi(data:any) {
    return request.get({ url: '/Dis/getDisInfo',data})
}

//申请红娘
export function applicationHn(data:any) {
    return request.post({ url: '/Web/applicationHn',data})
}

//提现
export function balanceExtractApi(data:any) {
    return request.post({ url: '/Dis/balanceExtract',data})
}

//获取我的收支列表
export function getMyCollectBranchListApi(data:any) {
    return request.get({ url: '/Dis/getMyCollectBranchList',data})
}

//获取邀请的实名用户列表
export function getInviteUserListApi(data:any) {
    return request.get({ url: '/Dis/getInviteUserList',data})
}

//获取邀请的VIP用户列表
export function getInviteUserVIPListApi(data:any) {
    return request.get({ url: '/Dis/getInviteUserVIPList',data})
}

//获取我的专属红娘
export function getMyDisnfoApi(data:any) {
    return request.post({ url: '/Dis/launchQx',data})
}

//获取我的专属红娘
export function getMyQxListApi(data:any) {
    return request.get({ url: '/Dis/getMyQxList',data})
}

// 获取活动列表
export function getActivityListApi(data:any) {
    return request.get({ url: '/Activity/getActivityList',data})
}

// 获取活动详情
export function getActivityInfoApi(data:any) {
    return request.get({ url: '/Activity/getActivityInfo',data})
}

// 参与活动
export function pitchActivityApi(data:any) {
    return request.post({ url: '/Activity/pitchActivity',data})
}

// 获取我的活动详情
export function getMyActivityInfoApi(data:any) {
    return request.get({ url: '/Activity/getMyActivityInfo',data})
}

// 获取我的活动列表
export function getMyActivityListApi(data:any) {
    return request.get({ url: '/Activity/getMyActivityList',data})
}

// 获取我管理活动列表
export function getMyAdminActivityListApi(data:any) {
    return request.get({ url: '/Activity/getMyAdminActivityList',data})
}

// 获取我管理活动的详情
export function getActivityHxInfoApi(data:any) {
    return request.get({ url: '/Activity/getActivityHxInfo',data})
}

// 核销活动
export function hxActivityApi(data:any) {
    return request.post({ url: '/Activity/hxActivity',data})
}

// 获取牵线套餐列表
export function getQxPackageListApi(data:any) {
    return request.get({ url: '/Web/getQxPackageList',data})
}

// 购买牵线套餐
export function payQxApi(data:any) {
    return request.post({ url: '/Web/payQx',data})
}

// 获取我收藏的嘉宾列表
export function getMyGuestsListApi(data:any) {
    return request.get({ url: '/Web/getMyGuestsList',data})
}

// 批量取消收藏嘉宾
export function allCancelCollectionApi(data:any) {
    return request.post({ url: '/Web/allCancelCollection',data})
}

// 足迹-获取我看过的列表
export function getFootMySeeListApi(data:any) {
    return request.get({ url: '/Web/getFootMySeeList',data})
}

// 足迹-获取谁看过我的列表
export function getFootSeeMyListApi(data:any) {
    return request.get({ url: '/Web/getFootSeeMyList',data})
}

// 余额明细
export function accountLogApi(data:any) {
    return request.get({ url: '/account_log/lists',data})
}

// 充值
export function rechargeApi(data:any) {
    return request.post({ url: '/recharge/recharge',data})
}

// 获取置顶套餐列表
export function getZdPackageListApi(data:any) {
    return request.get({ url: '/Web/getZdPackageList',data})
}

// 购买置顶套餐列表
export function payZdApi(data:any) {
    return request.post({ url: '/Web/payZd',data})
}

// 获取我的动态列表
export function getMyDynamicListApi(data:any) {
    return request.get({ url: '/Web/getMyDynamicList',data})
}

// 删除我的动态
export function delDynamicApi(data:any) {
    return request.post({ url: '/Web/delDynamic',data})
}

// 获取认证信息
export function getAuthInfoApi(data:any) {
    return request.get({ url: '/Web/getAuthInfo',data})
}

// 认证提交
export function authSubmitApi(data:any) {
    return request.post({ url: '/Web/authSubmit',data})
}

// 修改个人资料
export function updateUserInfoAllApi(data:any) {
    return request.post({ url: '/Web/updateUserInfoAll',data})
}